<div class="common-attachment-upload-outer"
  id="{{commonAttachmentUploadCtrl.componentId}}">
  <div class="fixed-left-label">附件：</div>
  <div class="right-value">
  	<div id="{{commonAttachmentUploadCtrl.pickBtnId}}">选择</div>
  </div>
  <div class="message">
    <span class="promt-msg">
      {{commonAttachmentUploadCtrl.message || 'office类文件支持在线预览。wps以及部分不兼容文件，需下载后查看'}}
    </span>
  </div>
  <div class="file-list-outer">
		<div class="file-item"
      ng-if="commonAttachmentUploadCtrl.fileType != 'image'"
      ng-repeat="item in commonAttachmentUploadCtrl.fileList">
	    <span class="upload-file-name">{{item.fileName}}</span>
	    <span class="pa-btn file-del-btn"
	    	ng-click="commonAttachmentUploadCtrl.delete(item)">删除</span>
	  </div>
    <div class="img-box"
      ng-if="commonAttachmentUploadCtrl.fileType == 'image'"
      ng-repeat="item in commonAttachmentUploadCtrl.fileList">
      <img ng-src="{{commonAttachmentUploadCtrl.getFileSrc(item)}}"/>
      <i class="fa fa-remove"
        ng-click="commonAttachmentUploadCtrl.delete(item)"></i>
      <div>
        <div class="toast success">上传成功</div>
        <div class="toast error">上传失败</div>
        <div class="retry">
          <i class="fa fa-repeat"></i>
        </div>
      </div>
    </div>
    <div class="progress">
      <span class="text"></span>
      <span class="rate"></span>
    </div>
  </div>      
</div>